<?php

	include_once('class/iframe.php');
	
if( $requestType == 'iframe'){
	//global $cssFile,$jsFile,$proxyIframeSrc,$page;
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Untitled Document</title>
	<link href="css/main.css" rel="stylesheet" media="screen" />
	<script type="text/javascript" src="<?php echo JSLAB_PATH;?>jQuery.js"></script>
    
	<script type="text/javascript">var proxyIframeSrc = '<?php echo $proxyIframeSrc ?>';</script>
	<script type="text/javascript" src="<?php echo JSLAB_PATH;?>iframeSize.js"></script>
    
	<script type="text/javascript" src="<?php echo JS_PATH;?>function.js"></script>
	<script type="text/javascript" src="<?php echo JS_PATH;?>global.js"></script>
    <script type="text/javascript">var tagList='<?php echo $tagsUrl;?>';</script>
	<script type="text/javascript" src="<?php echo JS_PATH;?>list.js"></script>
	<?php
		outClientCssFile($cssFile,"|");
		outClientJsFile($jsFile,'|');	
	?>
	</head>
    <body>
	<div id="tagMenuList" baseUrl="./?option=list" page="<?php echo $page ?>">
    	<ul>
	<?php
    	getTagMenu(true);
	?>
    </ul>
    <input value="检索" type="button" id="getMediaList" />
    </div>
    <?php
		$fromType = $fromType ;
		include_once('class/list.php');
		getFileLists($tags);
	?>
    <div id="debug"></div>
    
	</body>
    </html>
<?php
}elseif( $requestType == 'json'){//iframe()
	//echo '{"msg":"d"}';
}
?>
